<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">{{msg}}</div>
</body>
<script src="MVVM/mvvm.js"></script>
<script src="MVVM/observer.js"></script>

<script src="MVVM/compile.js"></script>
<script src="MVVM/watcher.js"></script>
<script>
  var vm = new MVVM({
    el:"#app",
    data:{
      damu:{
        damuname:"达姆",
        damuage:18,
        damuwife:{
          wifename:"周冬雨",
          wifeage:17,
          wifeson:{
            sonname:"迪迦",
            sonage:6
          }
        }
      },
      a:"a",
      b:"b"
    }
  })

  console.log(vm.damu.damuwife.wifeson.sonname)
  vm.damu.damuwife.wifeson.sonname = "迪迦奥特曼"
</script>
</html>